Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
CAsaAccessGroupManager Class Reference

CAsaAccessGroupManager is the asa object storage manager class that is used to store and retrieve asa object. More...

Public Member Functions

bool deleteAccessGroupWithNameIf (string)
 delete the access-group that associates with the specified nameIf. More...
 
bool deleteAccessGroup (Direction, string, string)
 delete the access-group that associates with the specified nameIf, aclId and in a certain direction. More...
 
bool addAccessGroup (Direction, string, string)
 add a new access-group. More...
 
AsaAccessGroup getAccessGroupAt (int)
 Return the access-group at a specified index. More...
 
int getAccessGroupCount ()
 Return the number of access-group configured. More...
 

Detailed Description

CAsaAccessGroupManager is the asa object storage manager class that is used to store and retrieve asa object.

Member Function Documentation

◆ addAccessGroup()

bool CAsaAccessGroupManager::addAccessGroup ( Direction  ,
string  ,
string   
)

add a new access-group.

Parameters
direction,thetraffic direction eIn =0, eOut, eGlobal
nameIf,nameIfof the interface that has the acl applied on
aclId,aclid of the acl.
Returns
bool, value is true if the add was successful, false if not.

◆ deleteAccessGroup()

bool CAsaAccessGroupManager::deleteAccessGroup ( Direction  ,
string  ,
string   
)

delete the access-group that associates with the specified nameIf, aclId and in a certain direction.

Parameters
direction,thetraffic direction
nameIf,nameIfof the interface that has the acl applied on
aclId,aclid of the acl

◆ deleteAccessGroupWithNameIf()

bool CAsaAccessGroupManager::deleteAccessGroupWithNameIf ( string  )

delete the access-group that associates with the specified nameIf.

Parameters
nameIf,thenameIf of the interface that has access-list applied on.

◆ getAccessGroupAt()

AsaAccessGroup CAsaAccessGroupManager::getAccessGroupAt ( int  )

Return the access-group at a specified index.

Parameters
index,indexof the access group to get. Range (0, getAccessGroupCount()).

◆ getAccessGroupCount()

int CAsaAccessGroupManager::getAccessGroupCount ( )

Return the number of access-group configured.

Returns
int, value is how many access groups there are total.

The documentation for this class was generated from the following file: